#pragma once
#include "boost/asio.hpp"

#ifdef _WINDLL
#define WINDLL_API __declspec(dllexport)
#else
#define WINDLL_API __declspec(dllimport)
#endif


class WINDLL_API CPxCommunication
{
public:
	CPxCommunication();
	~CPxCommunication();

	void Init();
	void RunListener();
	void TryAccept();

private:
	boost::asio::io_service m_IOservice;
	boost::asio::ip::tcp::acceptor m_pxAcceptor;
};

